﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WMI.NET.Tests
{
    [TestClass]
    public class OperatingSystem
    {


        #region Users

        [TestMethod]
        public void GetWin32_Accounts()
        {
            var GetWin32_Accounts = new WMI.NET.OperatingSystem.Users.GetWin32_Accounts();
            var t1 = GetWin32_Accounts.GetCollection();

            Assert.IsNotNull(t1);

        }


        [TestMethod]
        public void GetWin32_Groups()
        {
            var GetWin32_Groups = new WMI.NET.OperatingSystem.Users.GetWin32_Groups();
            var t1 = GetWin32_Groups.GetCollection();

            Assert.IsNotNull(t1);

        }

        [TestMethod]
        public void GetWin32_UserAccounts()
        {
            var GetWin32_UserAccounts = new WMI.NET.OperatingSystem.Users.GetWin32_UserAccounts();
            var t2 = GetWin32_UserAccounts.GetCollection();

            Assert.IsNotNull(t2);
        }

        #endregion


    }
}
